package org.linlinjava.litemall.admin.vo.marketing_manage;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author wj
 * @date 2021/11/1 13:45
 */
public class RuleListVo {

    private String name;

    private Integer state;

    private Integer type;

    private Integer busiId;


    @NotNull(message = "当前页码不能为空")
    @Min(value = 1,message = "当前页码不能小于1")
    private Integer page;

    @NotNull(message = "每页显示条目不能为空")
    @Min(value = 0,message = "每页显示条目不能小于0")
    private Integer limit;


    public Integer getBusiId() {
        return busiId;
    }

    public void setBusiId(Integer busiId) {
        this.busiId = busiId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }
}
